package top.lyunz.lucky.hr.service.Impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.lucky.hr.bean.engageMajorRelease;
import top.lyunz.lucky.hr.mapper.engageMajorReleaseMapper;
import top.lyunz.lucky.hr.service.engageMajorReleaseService;
@Service
public class engageMajorReleaseServiceImpl implements engageMajorReleaseService {
	@Autowired
	private engageMajorReleaseMapper engageMajorReleaseMapper;
	@Override
	public boolean engageMajorReleaseAdd(engageMajorRelease engageMajorRelease) {
		// TODO Auto-generated method stub
		return engageMajorReleaseMapper.engageMajorReleaseAdd(engageMajorRelease);
	}
	@Override
	public List<engageMajorRelease> engageMajorReleaseGetAll() {
		// TODO Auto-generated method stub
		return engageMajorReleaseMapper.engageMajorReleaseGetAll();
	}
	@Override
	public boolean engageMajorReleaseDel(int id) {
		// TODO Auto-generated method stub
		return engageMajorReleaseMapper.engageMajorReleaseDel(id);
	}
	@Override
	public engageMajorRelease engageMajorReleaseGetByid(int id) {
		// TODO Auto-generated method stub
		return engageMajorReleaseMapper.engageMajorReleaseGetByid(id);
	}
	@Override
	public boolean engageMajorReleaseUpd(engageMajorRelease engageMajorRelease) {
		// TODO Auto-generated method stub
		return engageMajorReleaseMapper.engageMajorReleaseUpd(engageMajorRelease);
	}

}
